package com.alex.ioc.basic;

import java.util.List;
import java.util.Map;
import java.util.Properties;

public class Person {
    private String name;

    private List<Car> carList;

    public List<Car> getCarList() {
        return carList;
    }

    public void setCarList(List<Car> carList) {
        this.carList = carList;
    }

    private Map<String, Integer> scores;
    private Properties info;
    private List<Car> cars;

    public Person() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Car> getCars() {
        return cars;
    }

    public void setCars(List<Car> cars) {
        this.cars = cars;
    }

    public Map<String, Integer> getScores() {
        return scores;
    }

    public void setScores(Map<String, Integer> scores) {
        this.scores = scores;
    }

    public Properties getInfo() {
        return info;
    }

    public void setInfo(Properties info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", carList=" + carList +
                ", scores=" + scores +
                ", info=" + info +
                ", cars=" + cars +
                '}';
    }
}
